﻿<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../css/cn/main.css" type="text/css">
<script type="text/javascript" charset="utf-8" src="js/jquery-1.8.0.min.js"></script>

<script>
basePath = function() {
	var curWwwPath = window.document.location.href;
	var pathName = window.document.location.pathname;
	var pos = curWwwPath.indexOf(pathName);
	var localhostPaht = curWwwPath.substring(0, pos);
	var projectName = pathName.substring(0, pathName.substr(1).indexOf('/') + 1);
	return (localhostPaht + projectName);
};
var base_path_error = ''; 
var remainderSeconds=7;
var timeIntervalId;
$(function(){
    base_path_error =  basePath();	  
	timeIntervalId=setInterval("CountDown()",1000);
})
function CountDown(){
	if(remainderSeconds<=0){
		page_back();
		clearInterval(timeIntervalId);
		return;
	};
	remainderSeconds--;
	document.getElementById("time").innerHTML="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+remainderSeconds+"秒后自动跳转";
}
function keydown()
{
  if(window.event.keyCode == 13){
     window.location.href = base_path_error;
	}
}
function page_back()
{
    window.location.href= base_path_error;
}
</script>
<style type="text/css">
.error_img{
     background :url("../images/cn/Error_bg.gif");
	 background-repeat: no-repeat; 
}
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000" onkeydown="javascript:keydown();">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td > 
      <div align="center"><br>
        <br>
        <table border="0" cellspacing="0" cellpadding="25" width="434" height="275">
          <tr> 
            <td class="error_img" valign="top"> 
              <table width="100%" border="0" height="100%" cellspacing="0" cellpadding="0">
                <tr> 
                  <td valign="top"> 
                    <p>&nbsp;</p>
                    <table width="95%" border="0" align="center" cellspacing="0" cellpadding="0">
						<tr>&nbsp;</tr>
						<tr>
							<td>&nbsp;</td>
							<td>
								当前用户会话已经无效！<br>可能的原因有：<br>1.会话超时过期 <br>2.当前用户已经在别的地方登录 <br>3.管理员进行系统维护
							</td>
						</tr>                      
                    </table>
                    <p id="time">&nbsp;</p>
                  </td>
                </tr>
                <tr> 				
				<td height="1" class="td_center"><br>
					<button class="button1" onclick="page_back();" style="height:28px;width:80px;cursor:pointer;">返回登录</button>
				</td>            
                </tr>
              </table>
            </td>
          </tr>
        </table>
  </div>
    </td>
  </tr>
</table>
</body>
</html>